 var data=[
	{type:"computer",
	 all:[
	 	{id:1,name:'内存条',num:3,price:360},
		{id:2,name:'硬盘',num:2,price:584},
		{id:3,name:'主板',num:1,price:855},
		{id:4,name:'处理器',num:1,price:1226}
		]
	},
	{
		type:"family",
	 	all:[	
			{id:11,name:"空调",price:"2988",num:'1'},
			{id:12,name:"洗衣机",price:"6888",num:'1'},
			{id:13,name:"电视",price:"5888",num:'1'},
			{id:14,name:"冰箱",price:"3388",num:'1'},
		]
	 },
	 {
	 	type:"phone",
	 	all:[
			{id:21,name:'苹果手机',price:'5800',num:'1'},
			{id:22,name:'小米手机',price:'2800',num:'1'},
			{id:23,name:'oppo手机',price:'3200',num:'1'},
			{id:24,name:'vivo手机',price:'3000',num:'1'},
    		]
	}
]